package io.xccit.pojo.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author CH_ywx
 * @date 2023-09-11
 * @description
 */
@Data
@ApiModel("商品图片")
@TableName("product_picture")
public class ProductPicture {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("商品主键(关联外键)")
    @JsonProperty("product_id")
    private Integer productId;
    @JsonProperty("product_picture")
    @ApiModelProperty("图片地址")
    private String productPicture;
    @ApiModelProperty("图片详情")
    private String intro;
}
